package com.Entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "doctorinfo", catalog = "monitor")
public class DoctorInfo implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer doctorId;
	private Integer hosId;
	private String doctorName;
	private String doctorDescription;
	private String docPicture;
	
	public DoctorInfo(){
		
	}
	
	public DoctorInfo(Integer hosId, String doctorName,
			String doctorDescription, String docPicture) {
		this.hosId = hosId;
		this.doctorName = doctorName;
		this.doctorDescription = doctorDescription;
		this.docPicture = docPicture;
	}
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "doctorId", unique = true, nullable = false)
	public Integer getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(Integer doctorId) {
		this.doctorId = doctorId;
	}
	
	@Column(name = "hosId")
	public Integer getHosId() {
		return hosId;
	}

	public void setHosId(Integer hosId) {
		this.hosId = hosId;
	}
	
	@Column(name = "doctorName", length = 200)
	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	
	@Column(name = "doctorDescription", length = 4000)
	public String getDoctorDescription() {
		return doctorDescription;
	}

	public void setDoctorDescription(String doctorDescription) {
		this.doctorDescription = doctorDescription;
	}
	
	@Column(name = "docPicture", length = 500)
	public String getDocPicture() {
		return docPicture;
	}

	public void setDocPicture(String docPicture) {
		this.docPicture = docPicture;
	}
	
	
	
}
